<%@ page language="Java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<html>
  <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">    
    <title>用户信息</title>        
 </head>
 <body>
 <%request.setCharacterEncoding("UTF-8"); %>
 <jsp:useBean id="person" class="com.lyq.bean.Person" scope="page">
 	<jsp:setProperty name="person" property="*" />
 </jsp:useBean>
 	<table align="center" width="400" >
 		<tr>
 			<td align="right">姓名：</td>
 			<td><jsp:getProperty property="name" name="person"/></td>
 		</tr>
 		<tr>
 			<td align="right">年龄：</td>
 			<td><jsp:getProperty property="age" name="person"/></td>
 		</tr>
 		<tr>
 			<td align="right">性别：</td>
 			<td><jsp:getProperty property="sex" name="person"/></td>
 		</tr>
 		<tr>
 			<td align="right">住址：</td>
 			<td><jsp:getProperty property="address" name="person"/></td>
 		</tr>
 	</table>
 </body>
</html>